Change in openvpn[master]: port-share: log incoming connections at verb 3 only
A message that is not in the archive (sent off-list or not yet received): gerrit.1770798406000.Ie5c9a88050de959cfb02e5f804323a8081ddb667@...2715...
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/1516?usp=email
to review the following change.
Change subject: port-share: log incoming connections at verb 3 only
......................................................................
port-share: log incoming connections at verb 3 only
From "day 1" the message "Non-OpenVPN client protocol detected" was logged at D_STREAM_ERRORS level (verb 1), while it is not anything erroneous in this context (it's inside an "port share" only block).
Bump this to D_PS_PROXY (verb 3).
Github: closes OpenVPN/openvpn#976
---
M src/openvpn/socket.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/16/1516/1
src/openvpn/socket.c +1 -1
@@ -2149,7 +2149,7 @@ {if (!is_openvpn_protocol (&sb->buf)) { -msg (D_STREAM_ERRORS ,"Non-OpenVPN client protocol detected" ); +msg (D_PS_PROXY ,"Non-OpenVPN client protocol detected" ); sb->port_share_state =PS_FOREIGN ; sb->error = true;return false;
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1516?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie5c9a88050de959cfb02e5f804323a8081ddb667
Gerrit-Change-Number: 1516
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Attention is currently required from: cron2, plaisthos.
flichtenheld has posted comments on this change by cron2. ( http://gerrit.openvpn.net/c/openvpn/+/1516?usp=email )
Change subject: port-share: log incoming connections at verb 3 only
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1516?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie5c9a88050de959cfb02e5f804323a8081ddb667
Gerrit-Change-Number: 1516
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Comment-Date: Wed, 11 Feb 2026 11:21:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: cron2.
plaisthos has posted comments on this change by cron2. ( http://gerrit.openvpn.net/c/openvpn/+/1516?usp=email )
Change subject: port-share: log incoming connections at verb 3 only
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1516?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie5c9a88050de959cfb02e5f804323a8081ddb667
Gerrit-Change-Number: 1516
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Comment-Date: Wed, 11 Feb 2026 11:23:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
PATCH 1/1 port-share: log incoming connections at verb 3 only
In reply to a message not in the archiveFrom "day 1" the message "Non-OpenVPN client protocol detected" was logged at D_STREAM_ERRORS level (verb 1), while it is not anything erroneous in this context (it's inside an "port share" only block).
Bump this to D_PS_PROXY (verb 3).
Github: closes OpenVPN/openvpn#976
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1516
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1516
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Arne Schwabe <[email protected]...>
Frank Lichtenheld <[email protected]...>
src/openvpn/socket.c +1 -1
@@ -2149,7 +2149,7 @@ {if (!is_openvpn_protocol (&sb->buf)) { -msg (D_STREAM_ERRORS ,"Non-OpenVPN client protocol detected" ); +msg (D_PS_PROXY ,"Non-OpenVPN client protocol detected" ); sb->port_share_state =PS_FOREIGN ; sb->error = true;return false;
[Openvpn-devel] [PATCH applied] Re: port-share: log incoming connections at verb 3 only
Here we go, the first "mini bugfix" to the 2.7 series :-) - this is just a trivial log level change, but as the issue says, "error level" for something informational is just... wrong.
Your patch has been applied to the master and release/2.7 branch.
(It also serves as a test to the build infra, with a new branch to take care of)
commit 6f9ab9647cf0a3bc53e42e609437f892ce009e7a (master) commit 27505a5f2c4d34ceca44416090dda558ff99ad34 (release/2.7)
Author: Gert Doering Date: Wed Feb 11 12:33:10 2026 +0100
port-share: log incoming connections at verb 3 only
Signed-off-by: Gert Doering <[email protected]...>
Acked-by: Arne Schwabe <[email protected]...>
Acked-by: Frank Lichtenheld <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1516
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg35589.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
Hello flichtenheld, plaisthos,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/1516?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld, Code-Review+2 by plaisthos
Change subject: port-share: log incoming connections at verb 3 only
......................................................................
port-share: log incoming connections at verb 3 only
From "day 1" the message "Non-OpenVPN client protocol detected" was logged at D_STREAM_ERRORS level (verb 1), while it is not anything erroneous in this context (it's inside an "port share" only block).
Bump this to D_PS_PROXY (verb 3).
Github: closes OpenVPN/openvpn#976
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1516
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg35589.html
---
M src/openvpn/socket.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/16/1516/2
src/openvpn/socket.c +1 -1
@@ -2149,7 +2149,7 @@ {if (!is_openvpn_protocol (&sb->buf)) { -msg (D_STREAM_ERRORS ,"Non-OpenVPN client protocol detected" ); +msg (D_PS_PROXY ,"Non-OpenVPN client protocol detected" ); sb->port_share_state =PS_FOREIGN ; sb->error = true;return false;
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1516?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie5c9a88050de959cfb02e5f804323a8081ddb667
Gerrit-Change-Number: 1516
Gerrit-PatchSet: 2
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1516?usp=email )
Change subject: port-share: log incoming connections at verb 3 only
......................................................................
port-share: log incoming connections at verb 3 only
From "day 1" the message "Non-OpenVPN client protocol detected" was logged at D_STREAM_ERRORS level (verb 1), while it is not anything erroneous in this context (it's inside an "port share" only block).
Bump this to D_PS_PROXY (verb 3).
Github: closes OpenVPN/openvpn#976
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1516
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg35589.html
---
M src/openvpn/socket.c
1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/socket.c +1 -1
@@ -2149,7 +2149,7 @@ {if (!is_openvpn_protocol (&sb->buf)) { -msg (D_STREAM_ERRORS ,"Non-OpenVPN client protocol detected" ); +msg (D_PS_PROXY ,"Non-OpenVPN client protocol detected" ); sb->port_share_state =PS_FOREIGN ; sb->error = true;return false;
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1516?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie5c9a88050de959cfb02e5f804323a8081ddb667
Gerrit-Change-Number: 1516
Gerrit-PatchSet: 2
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>